// This program produces an ASCII art drawing of a mirror. // // Notice the use of a for loop in the drawBody method. public class Mirror0 { public static void main(String[] args) { drawLine(); drawBody(); drawLine(); } // Prints a line that appears at the top and bottom of the mirror. public static void drawLine() { System.out.println("#================#"); } // Prints the middle, or body, of the mirror. public static void drawBody() { for (int line = 1; line <= 8; line++) { System.out.println("|<>............<>|"); } } }